home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14778 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  783 b 

  1. Path: news1.is.net!news
  2. From: mvantassel@teambca.com (Mark VanTassel)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help with MS V. C++ 1.5 COMMON DLG invocation
  5. Date: Tue, 02 Apr 1996 01:46:18 GMT
  6. Organization: Barfield, Cauthen and Associates
  7. Message-ID: <4jpmh7$9r2@news1.is.net>
  8. References: <4jc9f6$47h@news.internetmci.com>
  9. NNTP-Posting-Host: dynamic26.is.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. ticker@anon.penet.fi (Tike) wrote:
  13.  
  14. >I need help invoking the COMMON DIALOG ( Open File ) and retrieving
  15. >the Returned file name in microsoft visual C++  ver: 1.5 for Windows,
  16.  
  17. >any help would be apprecitated.
  18.  
  19. >Thanks
  20.  
  21. CFileDialog OpenDlg(TRUE, NULL, NULL, 0, "All Files (*.*)|*.*", NULL);
  22. if (OpenDlg.DoModal() == IDCANCEL) return FALSE;
  23. CString FileName = OpenDlg.GetPathName(); 
  24.  
  25.  
  26.  
  27.